package com.kaigejava.template;

import com.kaigejava.DecoratorModelzhuangshizhe.coffeebar.coffee.*;

/**
 * Created by kaigejava on 2019/9/4.
 */
public class MainTest {
    public static void main(String[] args) {
        Coffee coffee = new Coffee();
        System.out.println("====泡咖啡步骤start===");
        coffee.prepareRecipe();
        System.out.println("====泡咖啡步骤end===");

        Tea tea = new Tea();
        System.out.println("====泡茶步骤start===");
        tea.prepareRecipe();
        System.out.println("====泡茶步骤end===");

    }
}
